package com.hjh.thymeleafdemo.service;

import com.hjh.thymeleafdemo.entity.User;

import java.util.List;

public interface IUserService {

    public User login(String usrName,String userPassword);
    public User addUser(User user);
    public void  deleteUser(Long usrId);
    public User updateUser(User user);
    public User getUser(Long usrId);
    public List<User> findAllUsers();
}
